package ModelLayer;


/**
 * Write a description of class Loan here.
 * 
 
 * @version (16/11-2012)
 */
public class Loan
{
    private int id;
    private String date;
    private String period;
    private String status;
    private Person person;
    private Sample sample;

    public Loan(int _id, String _date, String _period, String _status, Person _person, Sample _sample)
    {
        id = _id;
        date = _date;
        period = _period;
        status = _status;
        person = _person;
        sample = _sample;
    }

    public int getId()
    {
        return id;
    }
    
    public String getDate()
    {
        return date;
    }
    
    public String getPeriod()
    {
        return period;
    }
    
    public String getStatus()
    {
        return status;
    }
    
    public Person getPerson()
    {
        return person;
    }
    
    public Sample getSample()
    {
        return sample;
    }
    
    public void setId(int _id)
    {
        id = _id;
    }
    
    public void setDate(String _date)
    {
        date = _date;
    }
    
    public void setPeriod(String _period)
    {
        period = _period;
    }
    
    public void setStatus(String _status)
    {
        status = _status;       
    }
    
    public void setPerson(Person _person)
    {
        person = _person;
    }
    
    public void setSample(Sample _sample)
    {
        sample = _sample;
    }
}
